package com.whmskj.xjlhsc.qianYiData.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;

@Mapper
public interface DailyPowerSupplyMapper {

    /** 更新当日已存在记录 */
    int updateFromEnergy(@Param("day") LocalDate day);

    /** 插入当日不存在的记录 */
    int insertMissingFromEnergy(@Param("day") LocalDate day);
}

